<?php
if (!defined('WEB_ROOT')) {
	exit;
}


$parentId = (isset($_GET['parentId']) && $_GET['parentId'] > 0) ? $_GET['parentId'] : 0;
?> 

<form action="processGroup.php?action=add" method="post" enctype="multipart/form-data" name="frmGroup" id="frmGroup">
 <p align="center" class="formTitle">Add Group</p>
 
 <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
  <tr> 
   <td width="150" class="label">Mã nhóm nghiên cứu</td>
   <td class="content"> <input name="txtMannc" type="text" class="box" id="txtName" size="30" maxlength="50"></td>
  </tr>
  <tr> 
   <td width="150" class="label">Tên nhóm nghiên cứu</td>
   <td class="content"> <input name="txtTennnc" type = "text" class="box" id="txtTennnc"></td>
  </tr>
  <tr> 
   <td width="150" class="label">Ngày thành lập</td>
   <td class="content"> <input name="txtNgaythanhlap" type="text" id="txtNgaythanhlap" class="box"> 
  </tr>
 </table>
 <p align="center"> 
  <input name="btnAddGroup" type="button" id="btnAddGroup" value="Add Group" onClick="checkGroupForm();" class="box">
  &nbsp;&nbsp;<input name="btnCancel" type="button" id="btnCancel" value="Cancel" onClick="window.location.href='index.php?catId=<?php echo $parentId; ?>';" class="box">  
 </p>
</form>